Ext.define('A5T.view.MyWin',{
	extend:'Ext.container.Container',
	forceFit: true, 
    height: window.screen.availHeight,
    layout: 'border',
    initComponent: function () {
     	var me = this;
     	var leftMenu = Ext.create('A5T.view.mywin.LeftMenu');
     	var CenterWin = Ext.create('A5T.view.mywin.CenterWin');
     	me.items = [
     	{
            id: 'top-region-container',
	        region: 'north',     // position for region
	        xtype: 'panel',
	        height: 100,
	        split: true,         // enable resizing
	        margins: '5 5 0 5',
            items: [
                {
                    xtype: 'button',
                    handler: function(button, e) {
                        Ext.create('A5T.view.mywin.LoginForm').show();
                    },
                    itemId: 'mybutton',
                    text: '登陆'
                }
            ]
     	},
     	leftMenu,CenterWin
     	];
     	me.superclass.initComponent.call(me);
    },
    renderTo: Ext.getBody()
});